﻿using System.Collections;
using System.Collections.Generic;

namespace Library.Collections.Specialized
{
    public interface ICollectionBulk : IContainerBulk, ICollection
    {
        bool AddAll(IEnumerable items);

        bool RemoveAll(IEnumerable items);

        bool AddAny(IEnumerable items);

        bool RemoveAny(IEnumerable items);
    }

    public interface ICollectionBulk<TElement> : IContainerBulk<TElement>, Library.Collections.Generic.ICollection<TElement>
    {
        bool AddAll(IEnumerable<TElement> items);

        bool RemoveAll(IEnumerable<TElement> items);

        bool AddAny(IEnumerable<TElement> items);

        bool RemoveAny(IEnumerable<TElement> items);
    }
}
